﻿using ProtoBuf;

namespace ToyChat
{
    /// <summary>
    /// This class is used to kick users from servers...
    /// </summary>
    [ProtoContract(Name = "KickUserMessage")]
    public class KickUserMessage
    {
        /// <summary>
        /// The current nick of the user that is being kicked
        /// </summary>
        [ProtoMember(1)]
        public string Nick { get; set; }

        /// <summary>
        /// The reason the user was kicked (if any)
        /// </summary>
        [ProtoMember(2)]
        public string Reason { get; set; }
    }

}